<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>navigator方法演示文档</title>
  </head>
  <body>
    <script>
      console.log(window.navigator);

        document.write("启用Java: " + navigator.javaEnabled());
        document.write("启用数据污点: " + navigator.taintEnabled());
    </script>
  </body>
</html>
